export default class ApiUrl {
    // private static URL: string = '/site';
    private static URL: string = 'http://wx.chuangyijiaoyu2018.com';
    // private static URL: string = 'http://api.xwbtech.com/';

    private static GET_SLIDER: string = '/Common/GetSlider';
    private static GET_MY_COIN: string = '/User/GetMyCoin';
    private static GET_COURSE_LIST: string = '/Course/GetCourseList';
    private static LOGIN: string = '/User/Login';
    private static REGISTER: string = '/User/Register';
    private static GET_NEXT_SCHEDULE: string = '/Schedule/GetNextSchedule';
    private static GET_MY_SHOPING_CART: string = '/ShoppingCart/GetMyShopingCart';
    private static GET_DETAIL_INFO: string = '/Course/GetDetailInfo';
    private static FAVORITE: string = '/Course/Favorite';
    private static ADD_COURSE: string = '/ShoppingCart/AddCourse';
    private static DELETE_COURSE: string = '/ShoppingCart/DeleteCourse';
    private static GET_LESSON_LIST: string = '/Common/GetLessonList';
    private static QUESTION_PACKAGE_LIST: string = '/Question/QuestionPackageList';
    private static COIN_OVER_VIEW: string = '/Money/CoinOverView';
    private static RECHARGE_SERVICE_LIST: string = '/Money/RechargeServiceList';
    private static GET_SCHEDULE_LIST: string = '/Schedule/GetScheduleList';
    private static GET_GRADE_LIST: string = '/Common/GetNianjiList';
    private static GET_BRANCH_LIST: string = '/Common/GetBranchList';
    private static GET_SMS_CODE: string = '/Common/GetSmsCode';
    private static CHECK_MOBILE: string = '/User/ChecekMobile';
    private static CREATE_COURSE_ORDER: string = '/Order/CreateCourseOrder';
    private static GET_ORDER_DETAIL: string = '/Order/GetOrderDetail';
    private static COIN_PAY: string = '/Order/CoinPay';
    private static ORDER_LIST: string = '/Order/OrderList';
    private static FAVORITE_QUESTION_PACKAGE = '/Question/FavoriteQuestionPackage';
    private static GET_QUESTION_LIST_BY_PACKAGE_ID: string = '/Question/GetQuestionListByPackageId';
    private static SUBMIT_QUESTION: string = '/Question/SubmitQuestion';
    private static SUBMIT_EXAM: string = '/Question/SubmitExam';
    private static FAVORITE_QUESTION = '/Question/FavoriteQuestion';
    private static SCORE_TYPE_LIST = '/Score/ScoreTypeList';
    private static GET_COUNTY_LIST = '/ChoiceSchool/GetCountyList';
    private static MY_FAV_LIST = '/Course/MyFavList';
    private static GET_HOME_WORK_OVER_VIEW = '/Question/GetHomeWorkOverView';
    private static GET_HOME_WORK_HISTORY_OVER_VIEW = '/Question/GetHomeWorkHistoryOverView';
    private static GET_MY_WRONG_QUESTION_OVER_VIEW = '/Question/GetMyWorngQuestionsOverView';
    private static GET_MY_WRONG_QUESTIONS = '/Question/GetMyWorngQuestions';
    private static MY_FAV_QUESTION_PACKAGE_LIST = '/Question/MyFavQuestionPackageList';
    private static FAVORITE_QUESTION_OVER_VIEW = '/Question/FavoriteQuestionOverView';
    private static GET_EMOTIONAL_EXAM = '/Question/GetEmotionalExam';
    private static NEW_SCORE_LIST = '/Score/NewScoreList';
    private static SUBMIT_SCORE_IMG = '/Score/SubmitScoreImg';
    private static GET_RECENT_COMMENT = '/Score/GetRecentlyComment';
    private static GET_TEACHER_LIST = '/Course/GetTeacherList';


    public static set url(url: string) {
        ApiUrl.URL = url;
    }

    public static get getSlider(): string {
        return ApiUrl.URL + ApiUrl.GET_SLIDER;
    }

    public static get getCourseList(): string {
        return ApiUrl.URL + ApiUrl.GET_COURSE_LIST;
    }

    public static get login(): string {
        return ApiUrl.URL + ApiUrl.LOGIN;
    }

    public static get register(): string {
        return ApiUrl.URL + ApiUrl.REGISTER;
    }

    public static get getNextSchedule(): string {
        return ApiUrl.URL + ApiUrl.GET_NEXT_SCHEDULE;
    }

    public static get getMyShopingCart(): string {
        return ApiUrl.URL + ApiUrl.GET_MY_SHOPING_CART;
    }

    public static get favorite(): string {
        return ApiUrl.URL + ApiUrl.FAVORITE;

    }

    public static get GetDetailInfo(): string {
        return ApiUrl.URL + ApiUrl.GET_DETAIL_INFO;

    }

    public static get addCourse(): string {
        return ApiUrl.URL + ApiUrl.ADD_COURSE;
    }

    public static get deleteCourse(): string {
        return ApiUrl.URL + ApiUrl.DELETE_COURSE;
    }

    public static get getLessonList(): string {
        return ApiUrl.URL + ApiUrl.GET_LESSON_LIST;
    }

    public static get questionPackageList(): string {
        return ApiUrl.URL + ApiUrl.QUESTION_PACKAGE_LIST;

    }

    public static get coinOverView(): string {
        return ApiUrl.URL + ApiUrl.COIN_OVER_VIEW;

    }

    public static get rechargeServiceList(): string {
        return ApiUrl.URL + ApiUrl.RECHARGE_SERVICE_LIST;

    }

    public static get getScheduleList(): string {
        return ApiUrl.URL + ApiUrl.GET_SCHEDULE_LIST;
    }

    public static get getGradeList(): string {
        return ApiUrl.URL + ApiUrl.GET_GRADE_LIST;
    }

    public static get getBranchList(): string {
        return ApiUrl.URL + ApiUrl.GET_BRANCH_LIST;
    }

    public static get getSmsCode(): string {
        return ApiUrl.URL + ApiUrl.GET_SMS_CODE;
    }

    public static get checkMobile(): string {
        return ApiUrl.URL + ApiUrl.CHECK_MOBILE;
    }

    public static get createCourseOrder(): string {
        return ApiUrl.URL + ApiUrl.CREATE_COURSE_ORDER;
    }

    public static get getOrderDetail(): string {
        return ApiUrl.URL + ApiUrl.GET_ORDER_DETAIL;
    }

    public static get getMyCoin(): string {
        return ApiUrl.URL + ApiUrl.GET_MY_COIN;

    }

    public static get coinPay(): string {
        return ApiUrl.URL + ApiUrl.COIN_PAY;
    }

    public static get orderList(): string {
        return ApiUrl.URL + ApiUrl.ORDER_LIST;
    }

    public static get favoriteQuestionPackage(): string {
        return ApiUrl.URL + ApiUrl.FAVORITE_QUESTION_PACKAGE;
    }

    public static get getQuestionListByPackageId(): string {
        return ApiUrl.URL + ApiUrl.GET_QUESTION_LIST_BY_PACKAGE_ID;
    }

    public static get submitQuestion(): string {
        return ApiUrl.URL + ApiUrl.SUBMIT_QUESTION;
    }

    public static get submitExam(): string {
        return ApiUrl.URL + ApiUrl.SUBMIT_EXAM;
    }

    public static get favoriteQuestion(): string {
        return ApiUrl.URL + ApiUrl.FAVORITE_QUESTION;
    }

    public static get scoreTypeList(): string {
        return ApiUrl.URL + ApiUrl.SCORE_TYPE_LIST;
    }

    public static get getCountyList(): string {
        return ApiUrl.URL + ApiUrl.GET_COUNTY_LIST;
    }

    public static get myFavList(): string {
        return ApiUrl.URL + ApiUrl.MY_FAV_LIST;
    }

    public static get getHomeWorkOverView(): string {
        return ApiUrl.URL + ApiUrl.GET_HOME_WORK_OVER_VIEW;
    }

    public static get getHomeWorkHistoryOverView(): string {
        return ApiUrl.URL + ApiUrl.GET_HOME_WORK_HISTORY_OVER_VIEW;
    }

    public static get getMyWorngQuestionsOverView(): string {
        return ApiUrl.URL + ApiUrl.GET_MY_WRONG_QUESTION_OVER_VIEW;
    }

    public static get getMyWorngQuestions(): string {
        return ApiUrl.URL + ApiUrl.GET_MY_WRONG_QUESTIONS;
    }

    public static get myFavQuestionPackageList(): string {
        return ApiUrl.URL + ApiUrl.MY_FAV_QUESTION_PACKAGE_LIST;
    }

    public static get favoriteQuestionOverView(): string {
        return ApiUrl.URL + ApiUrl.FAVORITE_QUESTION_OVER_VIEW;
    }

    public static get getEmotionalExam(): string {
        return ApiUrl.URL + ApiUrl.GET_EMOTIONAL_EXAM;
    }

    public static get newScoreList(): string {
        return ApiUrl.URL + ApiUrl.NEW_SCORE_LIST;
    }

    public static get submitScoreImg(): string {
        return ApiUrl.URL + ApiUrl.SUBMIT_SCORE_IMG;
    }

    public static get getRecentlyComment(): string {
        return ApiUrl.URL + ApiUrl.GET_RECENT_COMMENT;
    }

    public static get getTeacherList(): string {
        return ApiUrl.URL + ApiUrl.GET_TEACHER_LIST;
    }

}
